package com.ls.mapper;

import com.ls.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author pengyu
 * @since 2023-03-15
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据手机号查询用户
     *
     * @param phone
     * @return SysUser
     */
    SysUser getUserByPhone(@Param("phone") String phone);

    /** */
//    List<String> findUserPagePermission(Map<String, Object> map);

}
